package cn.fl.ref.fribaseinfo.service;

import java.util.List;

import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.ref.fribaseinfo.vo.FundRasInsLimVO;
import fl.ref.fribaseinfo.condition.FundRasInsLimQueryCondition;

/**
 * @Description: 资管机构限额
 */
public interface IFundRasInsLimService {

	/**
	 * 获取唯一对象
	 * @param id
	 * @return
	 * @throws BaseException
	 */
	public FundRasInsLimVO selectById(Long id) throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(FundRasInsLimVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id) throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(FundRasInsLimVO entity) throws BaseException;

    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page) throws BaseException;
    
    /**
     * 不带分页查询
     * @param condition
     * @return
     */
    public List<FundRasInsLimVO> searchList(FundRasInsLimQueryCondition condition) throws BaseException;
   
}
